home *** CD-ROM | disk | FTP | other *** search
- /*
- ** Convert Reko cardsets to Soliton
- */
-
- /*trace results*/
-
- OPTIONS RESULTS
-
- /* First we need to open rexxsupport library */
-
- if ~show('l', 'rexxsupport.library') then do
- if ~addlib('rexxsupport.library', 0, -30, 0) then do
- say 'Could not find rexxsupport.library'
- return 10
- end
- end
-
- Redraw Off ; Undo Off
- tlx=2;tly=1
- sizx=88;sizy=130
- sepx=90;sepy=131
- setpalette '-1' 0 0 0
- swap
- createbuffer sizx*14 sizy*4 force
- REDRAW
- setpalette '-1' 24 90 148
- SWAP
-
- GetMain ; IF result = "" THEN EXIT
- PARSE VAR result name width height depth .
- format = 0
- if width > 1300 then format = 1
-
- do y = 0 to 3
- do x = 0 to 12
- x1 = tlx+x*sepx; y1 = tly+y*sepy
- Scissors
- Box x1 y1 sizx sizy
- Swap
- BrushHandle 0 0
- Point x*sizx y*sizy
- redraw x*sizx y*sizy sizx sizy
- Swap
- end
- end
-
- if format = 1 then do
- x1 = 1352; y1 = 132
- Scissors
- Box x1 y1 sizx sizy
- Swap
- BrushHandle 0 0
- Point 13*sizx 0
- Redraw 13*sizx 0 sizx sizy
- Swap
-
-
- x1 = 1262; y1 = 132
- Scissors
- Box x1 y1 sizx sizy
- Swap
- BrushHandle 0 0
- Point 13*sizx sizy
- Redraw 13*sizx sizy sizx sizy
- end
-
- if format = 0 then do
- x1 = 1172; y1 = 132
- Scissors
- Box x1 y1 sizx sizy
- Swap
- BrushHandle 0 0
- Point 13*sizx 0
- Redraw 13*sizx 0 sizx sizy
- Swap
-
-
- x1 = 1172; y1 = 263
- Scissors
- Box x1 y1 sizx sizy
- Swap
- BrushHandle 0 0
- Point 13*sizx sizy
- Redraw 13*sizx sizy sizx sizy
- end
-
- killswap
- killbrush
-
- Undo On ; Redraw On
-